// 背景
const values = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900]
const colors = ['gray', 'red', 'yellow', 'green', 'blue', 'indigo', 'purple', 'pink']

let forColors = function () {
  let obj = [
    {
      value: 'bg-transparent',
      label: '透明',
    },
    {
      value: 'bg-current',
      label: '当前色',
    },
    {
      value: 'bg-white',
      label: '白色',
    },
    {
      value: 'bg-black',
      label: '黑色',
    },
  ]
  colors.forEach((v) => {
    values.forEach((vv) => {
      obj.push({
        value: `bg-${v}-${vv}`,
        label: `bg-${v}-${vv}`,
      })
    })
  })
  return obj
}

export default forColors()
